package classfile

type ConstantClassInfo struct {
	cp ConstantPool
	nameIndex uint16
}

func (self *ConstantClassInfo)ReadInfo(reader* ClassReader) {
	self.nameIndex = reader.ReadUint16()
}

func (self *ConstantClassInfo)Name() string {
	return self.cp.getUtf8(self.nameIndex)
}
